// 基于template/src/views/{{appModules}}/{{pages@DEMPICKUPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IMPickupView2Model } from '@/core/interface/view/model';

//  获取视图模型
function getModel(): IMPickupView2Model {
	return {
		caption: '系统角色',
		title: '系统角色选择',
		capPSLanguageRes: 'DE.LNAME.SYS_ROLE',
		titlePSLanguageRes: '',
		showDataInfoBar: false,
		codeName: 'sys_roleUsr0309683501MPickupView2',
		uiEngineModel: [],
		ctrls: [
			{
				name: 'pickupviewpanel',
				codeName: 'Usr0309683501MPickupView2pickupviewpanel',
				controlType: 'PICKUPVIEWPANEL',
			},
			{
				name: 'treeexpbar',
				codeName: 'Usr0309683501MPickupView2treeexpbar',
				controlType: 'TREEEXPBAR',
			},
		],
		ctrlParams: {
			Sys_rolepickupviewpanel: {},
			Sys_roletreeexpbar: {},
		},
		cssName: '',
		name: 'sys_roleUsr0309683501MPickupView2',
		viewType: 'DEMPICKUPVIEW2',
		viewStyle: 'DEFAULT',
		showCaption: false,
		isLoadDefault: true,
		entityCodeName: 'Sys_role',
		keyPSAppDEField: 'Id',
		majorPSAppDEField: 'Name',
		expandSearchForm: false,
		quickSearchPlaceholder: ['名称', '角色代码标记'].join(','),
		useDefaultLayout: true,
		sideBarLayout: 'LEFT',
		expBarName: 'Usr0309683501MPickupView2treeexpbar',
		expBarWidth: 0,
		expBarHeight: 0,
	};
}

export const model = getModel();
